import Cookies from 'js-cookie'

const FormData = 'Form-Data'
const ImgUrl = 'Img-Url'
const Content = 'Content'

export function getForm() {
  return Cookies.get(FormData);
}

export function setForm(data) {
  return Cookies.set(FormData, data);
}

export function getImgSrc() {
  return Cookies.get(ImgUrl);
}

export function setImgSrc(data) {
  return Cookies.set(ImgUrl, data);
}

export function getContent() {
  return Cookies.get(Content);
}

export function setContent(data) {
  return Cookies.set(Content, data);
}
